package com.wx.wxpush.service.impl;

import com.wx.wxpush.mapper.TemplateMapper;
import com.wx.wxpush.service.TemplateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class TemplateServiceImpl implements TemplateService {

    @Autowired
    private TemplateMapper templateMapper;

//    @Override
//    public int insertForeach(List list) {
//        int i = templateMapper.insertForeach(list);
//        return i;
//    }

    @Override
    public void delete() {
        templateMapper.delete();

    }
}